using B.S.XZYData.Api.Read.DTO;
using B.S.XZYData.ErrorCode;
using MediatR;

namespace B.S.XZYData.Api.Read.Application.Command.ZSH
{
    /// <summary>
    /// 不良品项分页查询命令
    /// </summary>
    public class GetDefectivePageCommand : IRequest<ApiPageing<DefectiveDto>>
	{
        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int Index { get; set; } = 1;
        /// <summary>
        /// 页大小
        /// </summary>
        public int Size { get; set; } = 10;
        /// <summary>
        /// 不良品项编号（模糊）
        /// </summary>
        public string? DefectiveCode { get; set; }
        /// <summary>
        /// 不良品项名称（模糊）
        /// </summary>
        public string? DefectiveName { get; set; }
	}
}


